//
//  TaskCalendarView.h
//  Task Views
//
//  Created by Chris Karr on 6/30/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "TaskManager.h"

@interface TaskCalendarView : NSView 
{
	IBOutlet NSArrayController * tasks;
	IBOutlet NSArrayController * dateFields;

	IBOutlet TaskManager * taskManager;

	NSMutableArray * weeks;
	NSMutableArray * sortedItems;
	NSMutableDictionary * dayOfWeekCounts;
	
	NSMutableArray * labelArray;
	NSMutableArray * dotArray;
	
	// NSMutableArray * taskDots;
	
	IBOutlet NSWindow * settings;
	
	// NSMutableArray * textViews;
	// NSMutableArray * taskViews;

	NSTextField * titleLabel;
	NSTextField * messageField;
}

- (IBAction) settings:(id) sender;
- (IBAction) closeSettings:(id) sender;

- (void) setSelectedItem:(NSDictionary *) task;
- (void) editTask;

@end
